package cn.com.chengmandian.bike.service;


import cn.com.chengmandian.bike.dto.CreateWxPayScoreDto;
import cn.com.chengmandian.bike.dto.QueryWxPayScoreDto;
import cn.com.chengmandian.bike.dto.RideOrderPayDto;
import cn.com.chengmandian.bike.model.EbMemberPay;
import cn.com.chengmandian.bike.model.EbPreOrder;
import cn.com.chengmandian.bike.model.EbRideOrder;
import cn.com.chengmandian.core.web.pojo.AjaxResult;
import cn.com.chengmandian.service.bike.constants.MemberPayBusinessTypeEnum;
import cn.com.chengmandian.service.bike.form.BikeModifyAmountForm;
import cn.com.chengmandian.service.bike.form.BikeNoOrderForm;
import com.baomidou.mybatisplus.extension.service.IService;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 电单车运营-支付记录 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-12-15
 */
public interface IEbMemberPayService extends IService<EbMemberPay> {

    EbMemberPay createPay(Integer areaId, Integer memberId, MemberPayBusinessTypeEnum businessType, Integer businessId, BigDecimal money, Integer payChannel);

    EbMemberPay createPay(Integer areaId, Integer memberId, MemberPayBusinessTypeEnum businessType, Integer businessId, BigDecimal money, Integer payChannel, String businessData);

    void paySuccessByNo(String payNo, String channelNo);

    void paySuccessByPay(EbMemberPay memberPay, String channelNo);

    List<EbMemberPay> getYearPayRecord(Integer memberId);

    EbMemberPay getByNo(String payNo);
}
